import 'package:json_annotation/json_annotation.dart';
import 'dart:convert';
part 'stock_detail_bean.g.dart';


@JsonSerializable()
class StockDetailBean extends Object {

  @JsonKey(name: 'fm')
  String fm;

  @JsonKey(name: 'h')
  String h;

  @JsonKey(name: 'hs')
  String hs;

  @JsonKey(name: 'lb')
  String lb;

  @JsonKey(name: 'l')
  String l;

  @JsonKey(name: 'lt')
  String lt;

  @JsonKey(name: 'o')
  String o;

  @JsonKey(name: 'pe')
  String pe;

  @JsonKey(name: 'pc')
  String pc;

  @JsonKey(name: 'p')
  String currentPrice;

  @JsonKey(name: 'sz')
  String sz;

  @JsonKey(name: 'cje')
  String cje;

  @JsonKey(name: 'ud')
  String ud;

  @JsonKey(name: 'v')
  String v;

  @JsonKey(name: 'yc')
  String yc;

  @JsonKey(name: 'zf')
  String zf;

  @JsonKey(name: 'zs')
  String zs;

  @JsonKey(name: 'sjl')
  String sjl;

  @JsonKey(name: 'zdf60')
  String zdf60;

  @JsonKey(name: 'zdfnc')
  String zdfnc;

  @JsonKey(name: 't')
  String t;

  StockDetailBean(this.fm,this.h,this.hs,this.lb,this.l,this.lt,this.o,this.pe,this.pc,this.currentPrice,this.sz,this.cje,this.ud,this.v,this.yc,this.zf,this.zs,this.sjl,this.zdf60,this.zdfnc,this.t,);

  factory StockDetailBean.fromJson(Map<String, dynamic> srcJson) => _$StockDetailBeanFromJson(srcJson);

  Map<String, dynamic> toJson() => _$StockDetailBeanToJson(this);


    @override
    String toString() {
       var str = jsonEncode(this);
      return str;
    }
}


